﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace SP.Service.DTO
{
    public class UserDTO
    {
        public int Id { get; set; }
        /// <summary>
        /// 用户名
        /// </summary>
        [Required]
        [StringLength(20)]
        public string UserName { get; set; }
        /// <summary>
        ///创建时间
        /// </summary>
        public DateTime CreateTime { get; set; } = System.DateTime.Now;
        /// <summary>
        /// 用户状态
        /// </summary>
        public bool UserState { get; set; } = true;
        public bool Isdel { get; set; } = false;
    }
}
